
// var request = require('./httpUtils');
const util = require('../../../utils/util.js')
var app = getApp()

function searchGoods(param, success) {
  app.func.Post(false, app.api.search_goods, param, function (data) {
    typeof success == "function" && success(data);
  },
  function (error) {
    console.log('无相关商品信息' + error);
  });
};


module.exports = {
  searchGoods: searchGoods
};
